/**
 * <p>Title: MaterialPackagePropertyDao</p>
 * <p>Description: MaterialPackagePropertyDao</p>
 * <p>Copyright: Shanghai Batchsight Pharmaceutical Technologies, Inc. Copyright(c) 2016</p>
 * @author qianpengji
 * @version 1.0
 * <pre>Histroy:
 *       2016-11-23  qianpengji  Create
 *</pre>
*/
package cn.jhg.account.persist;

import org.bson.Document;
import org.bson.types.ObjectId;


public interface MaterialPackagePropertyDao {
	
	/**
	 * 增加物料属性
	 * @param obId
	 * @param meta
	 * @return
	 */
	public int addPackage(ObjectId obId,Document meta);
	
	/**
	 * 更新物料属性
	 * @param obId
	 * @param meta
	 * @return
	 */
	public int updatePackage(ObjectId obId,Document meta);

	/**
	 * 删除物料属性
	 * @param obId
	 * @return
	 */
	public int deletePackage(ObjectId obId);
	
	/**
	 * 查询物料属性
	 * @param obId
	 * @return
	 */
	public Document queryPackage(ObjectId obId);
}
